package com.questionnaires.repository;

import com.questionnaires.exception.NotExistsException;
import com.questionnaires.model.Response;

import java.util.List;

/**
 * @author ioana.ruca@gmail.com
 */
public interface ResponseRepository {

    void saveOrUpdate(Response response);

    List<Response> findAllByQuestion(long questionId);

    Response findById(long id);

}
